<%@ page import="dao.DiaryDao" %>
<%@ page import="entity.DiaryInfo" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/12/7
  Time: 15:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>删除日记</title>
</head>
<body>
<%
    Integer id=Integer.valueOf(request.getParameter("id"));
    DiaryDao dd=new DiaryDao();
    DiaryInfo di=dd.findById(id);
    request.setAttribute("d",di);
%>

</body>
</html>
